package com.catt.orderdinner.repository;

import com.catt.orderdinner.dataobject.TbProject;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface TbProjectRepository extends JpaRepository<TbProject, String> {
    TbProject findByProjectId(String projectId);

    Page<TbProject> findAll(Pageable pageable);
}
